package lemon;

public class Zebra {
    private String id;
    private String name;
    private String weight;
    private String height;
    private String colour;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    @Override
    public String toString() {
        return "mammoth{" +
                "动物类名：巴拿马" + id + '\n' +
                "绰号：斑马 " + name + '\n' +
                "体重：25mg " + weight + '\n' +
                "体长：521mm " + height + '\n' +
                "肤色：black & white " + colour + '\n' +
                '}';
    }}

